package com.mlamp.demo.data.mapper;

import com.mlamp.demo.data.mode.TbGlUser;
import com.mlamp.demo.data.mode.TbGlUserExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TbGlUserMapper {
    long countByExample(TbGlUserExample example);

    int deleteByExample(TbGlUserExample example);

    int deleteByPrimaryKey(String sfzh);

    int insert(TbGlUser record);

    int insertSelective(TbGlUser record);

    List<TbGlUser> selectByExample(TbGlUserExample example);

    TbGlUser selectByPrimaryKey(String sfzh);

    int updateByExampleSelective(@Param("record") TbGlUser record, @Param("example") TbGlUserExample example);

    int updateByExample(@Param("record") TbGlUser record, @Param("example") TbGlUserExample example);

    int updateByPrimaryKeySelective(TbGlUser record);

    int updateByPrimaryKey(TbGlUser record);
    
    List<Map<String, Object>> findByParams(Map<String, Object> params);
    
    List<TbGlUser> findPage(Map<String, Object> params);
}